package type_convert;

import java.util.Date;

public class Person {

	private int age;
	private String name;
	private Date bith;
//	private Address address;
	
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
//	public Address getAddress() {
//		return address;
//	}
//	public void setAddress(Address address) {
//		this.address = address;
//	}
	public Date getBith() {
		return bith;
	}
	public void setBith(Date bith) {
		this.bith = bith;
	}
	@Override
	public String toString() {
		return "Person [age=" + age + ", name=" + name + ", bith=" + bith + ", address=" /*+ address*/ + "]";
	}
}
